<?php

namespace App\Providers;

use App\Models\Health;
use App\Models\hospitalInformation;
use App\Observers\EsObserver;
use App\Observers\HealthObserver;
use App\Observers\HospitalInformationObserver;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Schema::defaultStringLength(191);
        Health::observe(HealthObserver::class);
        Health::observe(EsObserver::class);
        hospitalInformation::observe(HospitalInformationObserver::class);
    }
}
